import request from '@/utils/request'

// 查询签到记录列表
export function listSign_record(query) {
  return request({
    url: '/system/sign_record/list',
    method: 'get',
    params: query
  })
}

// 查询签到记录详细
export function getSign_record(id) {
  return request({
    url: '/system/sign_record/' + id,
    method: 'get'
  })
}

// 新增签到记录
export function addSign_record(data) {
  return request({
    url: '/system/sign_record',
    method: 'post',
    data: data
  })
}

// 修改签到记录
export function updateSign_record(data) {
  return request({
    url: '/system/sign_record',
    method: 'put',
    data: data
  })
}

// 删除签到记录
export function delSign_record(id) {
  return request({
    url: '/system/sign_record/' + id,
    method: 'delete'
  })
}
